<DIV id=sidebar>
  
  <%= link_to "I_want_to_do_this".t, :controller => 'user', :action => 'add_thing', :thing_id => @thing.id %>
  <BR>
  
  <H3><%="hot_guys".t%></H3>
  <UL>
      <%= render :partial => '/partial/top_user',:locals=>{:user_lists=>@user_lists} %>
      <H5 class=seeall>
        <A href="#"><%="more".t%></A>
      </H5>
  </UL>

  <H3 class=near-person-links><%="hot_goals".t%></H3>
  <UL>
    <%= render :partial => '/partial/top_thing',:locals=>{:things=>@top_things} %>
    <H5 class=seeall>
      <A href="#"><%="more".t%></A>
    </H5>
  </UL>
</DIV>



<p><font color="green"><%=flash[:notice]%></font></p>
<h1>事件：<%=@thing.title%></h1>
<h1>关注：己经有 <b><%=@thing.users_count%></b>  人创建过此事</h1>
<% if session[:user] and User.find(session[:user]).things.include?(@thing)%>
<h3>
<%= button_to "放弃", {:action=>:destory, :id=>@thing}, :confirm=>"真的要放弃这个目标吗？" %>
</h3>
<% end %>
<br>
<hr>

<%for user in @thing.users%>
<DIV class=entry>
<DIV class=aggregatedperson><A href="/user/view/<%=user.id%>">
<IMG id="" height=75 src="/images/default_profile_image.jpg" width=75>
</DIV>
<H4><STRONG><A href="/user/view/<%=user.id%>"><%=user.nickname%></A></STRONG> <SPAN></SPAN> </H4>
<%end%>


